package com.lc.service.system;

import java.util.List;

import org.springframework.stereotype.Component;

import com.alibaba.dubbo.config.annotation.Reference;
import com.github.pagehelper.PageInfo;
import com.lc.entity.Page;
import com.lc.entity.system.Log;
import com.lc.provider.system.LogProvider;

@Component
public class LogService {

	@Reference
	private LogProvider logProvider;
	
	public Log selectOne(Object obj) {
		return logProvider.selectOne(obj);
	}

	public List<Log> select(Object obj) {
		return logProvider.select(obj);
	}

	public PageInfo<Log> selectByPage(Object obj, Page page) {
		return logProvider.selectByPage(obj, page);
	}
	
	public int insert(Log t) {
		return logProvider.insert(t);
	}
	
	public int update(Log t) {
		return logProvider.update(t);
	}
	
	public int delete(Object obj) {
		return logProvider.delete(obj);
	}
}
